package com.kingyun.gpsinspection.purificationservice.facade.model.iam.adm;

import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 用车申请实体
 */
public class CarTransfer extends BootstrapSearchBean implements Serializable {

    private static final long serialVersionUID = 209638263449132829L;
    //主键id
    private String id;
    //用车申请单id
    private String autoApplyId;
    //用车部门
    private String useDepartment;
    //乘车人姓名
    private String passenger;
    //联系人
    private String contacts;
    //人数
    private Integer numberOfPassenger;
    //出发日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date departureTime;
    //用车天数
    private Integer useDays;
    //上车地点
    private String pickUpPoint;
    //任务简述
    private String describe;
    //经由路线
    private String path;
    //安全交代
    private String warning;
    //创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    //创建人
    private String createUser;
    //修改时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyTime;
    //修改人
    private String modifyUser;
    //状态：0审批中，1已完成，2驳回，3废弃
    private Integer state;
    //司机名称
    private String driverName;
    //司机ID
    private String driverId;
    //车牌
    private String plateNumber;
    //第一审批人id
    private String firstApproval;
    //第一审批人名称
    private String firstApprovalName;
    //第二审批人id
    private String secondApproval;
    //第二审批人名称
    private String secondApprovalName;
    //第一审批人签名路径
    private String firstPath;
    //第二审批人前面路径
    private String secondPath;
    //当前节点
    private String nodeName;
    //当前审批人
    private String userName;

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getFirstPath() {
        return firstPath;
    }

    public void setFirstPath(String firstPath) {
        this.firstPath = firstPath;
    }

    public String getSecondPath() {
        return secondPath;
    }

    public void setSecondPath(String secondPath) {
        this.secondPath = secondPath;
    }

    public String getFirstApproval() {
        return firstApproval;
    }

    public void setFirstApproval(String firstApproval) {
        this.firstApproval = firstApproval;
    }

    public String getFirstApprovalName() {
        return firstApprovalName;
    }

    public void setFirstApprovalName(String firstApprovalName) {
        this.firstApprovalName = firstApprovalName;
    }

    public String getSecondApproval() {
        return secondApproval;
    }

    public void setSecondApproval(String secondApproval) {
        this.secondApproval = secondApproval;
    }

    public String getSecondApprovalName() {
        return secondApprovalName;
    }

    public void setSecondApprovalName(String secondApprovalName) {
        this.secondApprovalName = secondApprovalName;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public String getDriverId() {
        return driverId;
    }

    public void setDriverId(String driverId) {
        this.driverId = driverId;
    }

    public String getPlateNumber() {
        return plateNumber;
    }

    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAutoApplyId() {
        return autoApplyId;
    }

    public void setAutoApplyId(String autoApplyId) {
        this.autoApplyId = autoApplyId;
    }

    public String getUseDepartment() {
        return useDepartment;
    }

    public void setUseDepartment(String useDepartment) {
        this.useDepartment = useDepartment;
    }

    public String getPassenger() {
        return passenger;
    }

    public void setPassenger(String passenger) {
        this.passenger = passenger;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public Integer getNumberOfPassenger() {
        return numberOfPassenger;
    }

    public void setNumberOfPassenger(Integer numberOfPassenger) {
        this.numberOfPassenger = numberOfPassenger;
    }

    public Date getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(Date departureTime) {
        this.departureTime = departureTime;
    }

    public Integer getUseDays() {
        return useDays;
    }

    public void setUseDays(Integer useDays) {
        this.useDays = useDays;
    }

    public String getPickUpPoint() {
        return pickUpPoint;
    }

    public void setPickUpPoint(String pickUpPoint) {
        this.pickUpPoint = pickUpPoint;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getWarning() {
        return warning;
    }

    public void setWarning(String warning) {
        this.warning = warning;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}